<template>
	<div>
		<el-button type="primary" @click="exportQrCode">导出二维码</el-button>
	</div>
</template>

<script setup lang="ts">
import api from '@/apiMod/index'
import { getStore } from '@/utils/store'
import { useCommonStore } from '@/stores/common'
import useMqtt from '@/hooks/useMqttHooks'
import { onDownloadFile, DowloadPreviewImage } from '@/utils/util'
const { startMqtt } = useMqtt()
const { queryObj } = storeToRefs(useCommonStore())

const exportQrCode = () => {
	api
		.serviceobject_qrcode_download({
			pageParaPO: {
        size: -1,
      },
			...queryObj.value,
      belongProjectLabel:undefined
		})
		.then((res) => {
		})
}
</script>

<style scoped></style>
